package com.itlong.cloud.user.propertyapp;

import com.itlong.cloud.POJO.DTO.app.property.app.PropertyAppDeviceInfoDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

import java.util.Map;

/**
 * <desc>
 *      物业app设备信息暴露接口
 * </desc>
 *
 * @createDate  2020/01/13
 */
@FeignClient(name = "equip-service")
public interface IPropertyAppDeviceInfoServiceClient {

    /**
     * <desc>
     *      物业APP用户获取设备列表
     * <desc/>
     *
     * @param propertyAppDeviceInfoDTO 获取用户设备信息相关参数
     * @return
     * @author Juguang.S
     * @createDate 2020-01-13
     */
    @RequestMapping(value = "/pass/getDeviceList",method = RequestMethod.POST)
    Map<String, Object> getDeviceList(@RequestBody PropertyAppDeviceInfoDTO propertyAppDeviceInfoDTO) throws Exception;

}
